/*
 *  game.h
 */

#ifndef GAME_H
#define GAME_H

#include <string>
#include <vector>
#include "campaign.h"
#include "player.h"

class Game {
public:
    Game(int gameID, Campaign& campaign , std::string name, Player* owner);
    ~Game();
    int getID();
    Campaign& getCampaign();
    std::string getName();
    Player* getOwner();
    std::vector<Player*>* getPlayers();
    void addPlayer(Player* player);
    void activate();
    bool isActive();
private:
    int gameID;
    bool active;
    Campaign campaign;
    std::string name;
    Player* owner;
    std::vector<Player*> players;
};

#endif //GAME_H

//{+}

